#include <stdio.h>
 
int main()
{
	int a =18;
	a %=4;
	printf("%d",a);
}
